]> dgit.raspbian.org Git - gnome-shell.git/commit
ibusCandidatePopup: Set OSK candidates list visibility correctly
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 29 Jun 2022 11:06:07 +0000 (13:06 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 29 Jun 2022 13:44:36 +0000 (13:44 +0000)
commit237ba24dbeae5f838b40f8c3d100a09413b96d22
tree010d4f713e008a736ce833433d098dfd69d265a5
parent35ff4bfe3cdf76dc1bff9a56911786b96979a3f8
ibusCandidatePopup: Set OSK candidates list visibility correctly

Right now, we don't pay much attention to visibility hints from IBus
about the candidates list for the OSK suggestions bar. Since some
IMs rely on this visibility being honored, do that.

To fix this, the visibility hints for the lookup table are now
propagated to the keyboard, so the Suggestions actor hides its
internal candidate buttons. Since the Suggestions actor gets its
minimum height from CSS, this does not result in OSK size jumps.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5601
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2347>
js/ui/ibusCandidatePopup.js
js/ui/keyboard.js